package tech.runchen.gz5055.oms.modules.system.service;

import tech.runchen.gz5055.oms.common.utils.PageInfo;
import tech.runchen.gz5055.oms.common.utils.poi.head.ImportProductExcel;
import tech.runchen.gz5055.oms.modules.system.entity.ProductEntity;
import tech.runchen.gz5055.oms.modules.system.entity.ProductEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品信息表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-10-10
 */
public interface IProductService extends IExcelImportService<ProductEntity, ImportProductExcel> {

    PageInfo queryPage(Map<String, Object> params);

    List<ProductEntity> querySelect(Map<String, Object> params);

    ProductEntity queryInfoByProductId(String productId);

    boolean saveProduct(ProductEntity product);

    boolean updateProduct(ProductEntity product);

    void deleteProduct(Long productId);
}
